#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QWidget>

class QLineEdit;
class MyButton;
class PromptWidget;

class LoginWidget : public QWidget
{
    Q_OBJECT
public:
    explicit LoginWidget(QWidget *parent = 0);
    ~LoginWidget();
    void paintEvent(QPaintEvent *);

    QLineEdit               *m_textedit;
    MyButton                *m_startbtn;
    MyButton                *m_quitbtn;
    int                     m_iAlert;
    PromptWidget            *m_promptWidget;
signals:
    void tomain();
public slots:
    void quitclick();
    void start();
    void backtoNormal();
    void promptback(int i);
};

#endif // LOGINWIDGET_H
